package ano.it.pojo;

import java.io.Serializable;

public class Device implements Serializable {
    int id;
    String name;
    String means;
    String identifier;
    String introduce;
    int surplus;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMeans() {
        return means;
    }

    public void setMeans(String means) {
        this.means = means;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public int getSurplus() {
        return surplus;
    }

    public void setSurplus(int surplus) {
        this.surplus = surplus;
    }

    @Override
    public String toString() {
        return "Device{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", means='" + means + '\'' +
                ", identifier='" + identifier + '\'' +
                ", introduce='" + introduce + '\'' +
                ", surplus=" + surplus +
                '}';
    }
}
